package vno.fux.map
{
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	import flash.events.Event;
	
	import vno.fux.BaseDisplayObject;
	
	public class BackGroundView extends BaseMapView
	{
		public function BackGroundView(model_:MapModel, controller_:MapController)
		{
			super(model_, controller_);
			
			var blackGround:Sprite = new Sprite;
			blackGround.graphics.beginFill(0x111111);
			blackGround.graphics.drawRect(0, 0, this._model.width, this._model.height);
			blackGround.graphics.endFill();
			
			this.content = blackGround;
		}
		
		override public function update(evt:Event):void
		{
			this.setRegPoint([this._model.ox,this._model.oy]);
		}
		
	}
}